﻿namespace MicroBlog.Models
{
    /// <summary>
    /// 标签
    /// </summary>
    public class Tag : Model
    {
        /// <summary>
        /// 博客ID
        /// </summary>
        public int BlogId { get; set; }
        /// <summary>
        /// 标签名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 所属博客
        /// </summary>
        public virtual Blog Blog { get; set; }
    }
}
